package com.zhujiaji.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @author 朱佳吉
 * @date 2024/3/16 16:28
 */
@Data
public class Book{
    @TableId(type = IdType.AUTO)
    private Integer id;
    @TableField
    private String name;
    @TableField
    private Double price;
    @TableField
    private String author;
    @TableField
    private Double sales;
    @TableField
    private Integer stock;
    @TableField
    private String imgPath;
}
